/**
 * Auto gen via dbpojo-gen.
 */
package com.us.usws.service.cud.impl;

import java.util.Date;

import com.us.usws.dao.VideoAuthLogDAO;
import com.us.usws.model.flat.video.DOVideoAuthLog;
import com.us.usws.service.cud.VideoAuthLogCUDService;

/**
 * Service RO impl class
 * @author robot
 */
public class VideoAuthLogCUDServiceImpl implements VideoAuthLogCUDService {

	/**
	 * DAO instance
	 */
	private VideoAuthLogDAO dao = new VideoAuthLogDAO();

	/**
	 * Insert one row.
	 */
	@Override
	public String addVideoAuthLog(DOVideoAuthLog videoAuthLog) {
		return dao.insertVideoAuthLog(videoAuthLog);
	}

	/**
	 * Update by PK.
	 */
	@Override
	public void updateVideoAuthLog(DOVideoAuthLog videoAuthLog) {
		dao.updateVideoAuthLog(videoAuthLog);
	}

	/**
	 * Delete row by PK.
	 */
	@Override
	public void deleteVideoAuthLog(String videoUid, Date authDate) {
		dao.deleteVideoAuthLog(videoUid, authDate);
	}

}